/* 
    Document   : layout
    Created on : 2010-6-23, 22:04:24
    Author     : reyesyang
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/
*{
    margin: 0;
    padding: 0;
}

root { 
    display: block;
}

a {
    text-decoration: none;
}

html {
    background: url("/resource/image/wave.jpg") repeat-x;
}

body {
    width: 960px;
    margin: 0 auto;
    overflow: auto;
}

div {
    overflow: auto;
}

img {
    border: 0;
}

label {
    display: block;
}

input[type="text"] {
    height: 24px;
    width: 300px;
    /*    font-size: 1em;*/
}

select {
    height: 24px;
    /*    font-size: 1em;*/
}

fieldset {
    margin-top: 15px;
}

button {
    width: 100px;
}

select {
    width: 300px;
}

option {
    /*width: 100px;*/
}

.popup_tl {
    width: 10px;
    height: 10px;
    background-image: url("/resource/image/popup/tl.png");
}

.blog {
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: silver;
    padding: 10px 20px;/* 10px 30px;*/
}

.comment {
    /*border-width: 1px;
    border-color: silver;
    border-style: solid;*/
    margin: 10px 0;
    /*padding: 5px;*/
}

.comment-content {
    border: silver 1px solid;
    width: 519px;
}

.comment-content p {
    margin: 5px;
}

.visitor-comment {
    background: url("/resource/image/visitor-speak.png") no-repeat left top;
}

.admin-comment {
    background: url("/resource/image/admin-speak.png") no-repeat right top;
}

.visitor-comment .comment-content {
    float: right;
}

.admin-comment .comment-content {
    float: left;
}

.visitor-comment .poster-image {
    background-image: url("/resource/image/visitor_mini.png");
    float: left;
}

.admin-comment .poster-image {
    background-image: url("/resource/image/kid_mini.png");
    float: right;
}

.mainInfo {
    padding: 0 0 10px 0;
}

.blogOperate ul{
    list-style: none;
}

.blogOperate ul li {
    display: block;
    width: auto;
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: silver;
    float: left;
    padding-right: 10px;
    margin-right: 10px;
}

.blogOperate ul li em:hover {
    cursor: pointer;
    text-decoration: underline;
}

.blogOperate ul li a {
    color: gray;
}

.extendInfo p em a:hover {
    text-decoration: underline;
}

.listTitle {
    border-color:gray;
    border-style:solid;
    border-width:0 0 1px;
    color:#336699;
    font-size: 1.3em;
}

.monthListForAsideDateList {
    display: none;
}

.popup_top {
    background-image: url("/resource/image/popup/line.png");
    background-repeat: repeat-x;
}

.popup {
    border-collapse: collapse;
}

.popup_tr {
    width: 10px;
    height: 10px;
    background-image: url("/resource/image/popup/tr.png");
}

.popup_left {
    background-image: url("/resource/image/popup/line.png");
    background-repeat: repeat-y;
}

.popup_right {
    background-image: url("/resource/image/popup/line.png");
    background-repeat: repeat-y;
}

.popup_bl {
    width: 10px;
    height: 10px;
    background-image: url("/resource/image/popup/bl.png");
}

.popup_buttom {
    background-image: url("/resource/image/popup/line.png");
    background-repeat: repeat-x;
}

.popup_br {
    width: 10px;
    height: 10px;
    background-image: url("/resource/image/popup/br.png");
}

.poster-image {
    height: 64px;
    width: 64px;
    border: silver 1px dotted;
}

#add-blog {
    float: right;
}

#add-blog img {
    vertical-align: middle;
}

#about-site {
    margin: 10px 10px 0 30px;
}

#about-me {
    margin: 10px 10px 0 30px;
}

#constructing {
    margin: 10px 10px 0 30px;
    color: #336699;
}

#header {
    width: 100%;
    border: 0;
}

#logo {
    border: 0;
    width: 160px;
    float: left;
}

#logo a {
    width: 160px;
    height: 200px;
    border: 0 none;
}

#logo a img {
    height: 200px;
}

#blogComment {
    padding: 0 20px;
}

#comment {
    float: right;
    width: 402px;
    position: relative;
    top: 60px;
}

#comment h1 {
    width: 400px;
    text-align: right;
}

#comment h3 {
    width: 400px;
    text-align: right;
}

#currentPage {
    background-color: #336699;
}

#currentPage a {
    color: #ffffff;
}

#nav {
    width: 100%;
    border-top: 3px double gray;
    border-bottom: 3px double gray;
    margin-bottom: 10px;
    position: relative;
}

#nav ul {
    list-style: none outside none;
    padding: 0 30px;
}

#nav ul li {
    width: auto;
    display: block;
    float: left;
    padding: 0 60px 0 0;
}

#nav ul li a {
    display: block;
    margin: 1px 0;
    padding: 1px 0;
    text-decoration: none;
    font-family: Cambria,Georgia;
}

#search {
    width: 220px;
    position: absolute;
    right: 30px;
    margin: 8px 0;
}

#search form {
    height: 24px;
    border: 1px solid gray;
    position: relative;
    /*margin: 8px 0;*/
}

#search form input[name="condition"] {
    width: 196px;
    height: 20px;
    border: 0;
    margin: 2px 0 2px 2px;
}

#search form input[type="submit"]{
    width: 20px;
    height: 20px;
    border-width: 0;
    position: absolute;
    top: 2px;
    right: 2px;
    background: url("/resource/image/search.png") no-repeat top left;
    cursor: pointer;
}

#content {
    /*float: left;*/
    width: 100%;
    padding: 5px 0;
}

#all {
    padding: 0 30px;
}

#main {
    float: left;
    width: 670px;
    min-height: 300px;
    /*padding-right: 35px;*/
    /*padding-left: 30px;*/
    padding: 0 10px;
    border-right: 1px solid gray;
}

#blogDetails {
    padding: 10px 20px;;
}

#pageNav {
    list-style: none;
    margin-top: 5px;
    padding: 0 20px;/* 0 30px;*/
}

#pageNav li {
    display: block;
    width: auto;
    border-style: solid;
    border-width: 1px;
    border-color: #336699;
    float: left;
    margin: 0 5px 0 0;
    /*padding: 0 2px;*/
}

#pageNav li:hover {
    background-color: #336699;
}

#pageNav li a {
    width: 100%;
    padding: 0 2px;
}

#page-title {
    /*margin: 0 10px 0 30px;*/
    margin-left: 20px;
    color: #336699;
    font-size: 1.5em;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: gray;
}

#page-title-without-margin {
    color: #336699;
    font-size: 1.5em;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: gray;
}

#aside {
    float: right;
    width: 250px;
    height: 300px;
    /*padding-left: 20px;
    border-left: 1px solid gray;*/
}

#aside div {
    padding: 0 20px 0 0;
    margin: 0 10px 20px 0;
}

#aside div ul{
    padding-left: 8px;
}

#aside div ul li {
    border-color: silver;
    border-style: dotted;
    border-width: 0 0 1px;
}

#aside div ul li a {
    display: block;
    /*min-width : 200px;
    text-indent: 0;*/
}

#footer {
    /*float: left;*/
    width: 100%;
    height: 50px;
    border-top: 3px double gray;
    margin-top: 10px;
}
